package com.ibeetl.admin.core.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.admin.core.entity.*;

/**
 * 地区 Dao
 */
@SqlResource("core.coreArea")
public interface CoreAreaDao extends BaseMapper<CoreArea>{
    public PageQuery<CoreArea> queryByCondition(PageQuery query);
    public void batchDelCoreAreaByIds( List<Long> ids);
    public List<CoreArea> getAreaListByLevel( List<Long> levels);
    public List<CoreArea> getAreaListByParentAreaCode( String parentAreaCode);
}